<#include "/view/common/command/para.html">
<div  class="zs-ibox">
    <div class="content">
	  <div id='keypoint' class="zs-form-tabs">
        <table class="zs-form-tab">
            <tbody>
            	<tr>
					<td class="right">站点名称：</td>
					<td colspan="2"><input class="zs-input" type="text"
						style="width: 145px;" ng-model='queryObj.STATION_NAME'> <input
						type="button" name="ok" ng-click="queryStation();" value="查询"
						class="zs-btn"></td>
				</tr>
            </tbody>
        </table>
         <table class="zs-form-tab">
            <tbody>
            	 <tr>
                    <td class="right">查看参数：</td>
                    <td style="width:224px">
                    	<div><input href="#" class="zs-btn" ng-show="!parmListShow" ng-click="parmListShow = true" value="展开参数"/></div>
	                    <div id="parm_list" ng-show="parmListShow">
		                   	<label repeat-finish ng-finish="pollLoadFinish()" class="report_poll_list" ng-repeat="curRow in httpData.stationPoll.data">
	                    		<input name="parmToCheck" checked ng-click="showDataChangeParm()" unit="{{curRow.UNIT}}" value="{{curRow.CODE}}" parmText="{{curRow.NAME}}" class="zs-btn" type="checkbox" style="padding-right:2px"/>
	                    		{{curRow.NAME}}
	                    	</label>
	                    	<input class="zs-btn" href="#" ng-show="parmListShow" value="全不选" ng-click="clearParmname()"/>
	                    </div>
	                    <div style="clear: both;"><input class="zs-btn" href="#" ng-show="parmListShow" value="收起" ng-click="parmListShow = false"/></div>
                    </td>
                </tr>
                <tr>
               		 <td class="right">站点状态：</td>
                	<td class="left"><div class="tip"><span class="zx"></span>在线<span class="lx"></span>离线</div></td>
                </tr>
            </tbody>
        </table>
        </div>
         <div id="stationmapclass" class="zs-data-list"  style="overflow: auto; height: {{(Map_H-320)+'px;'}}">
			<div ng-repeat="curRow in httpData.stationList.data" ng-class="{list:true,selected:curRow==selectedStation}"
				ng-click = "selectStation(curRow)">
					
				<div  style="float: left;" class="tip">
					<span ng-class="{lx:curRow.ONOFFSTATUS!='1',zx:curRow.ONOFFSTATUS=='1'}"></span>
				</div>
				<div style="float: left;width：200px;">
					<div>{{curRow.NAME}}</div>
				</div>
				<div style="float: right">
					<div class="img-wrap">
						<a href="#"> 
							<img ng-if="curRow['PHOTO']"
								ng-src="${hostBase}{{curRow['PHOTO'] | firstImgUrl}}"
								onclick="imgShow($(this))"
								style="width: 50px; height: 40px;">
							<img ng-if="!curRow['PHOTO']"
								ng-src="${wdpjsRootPath}wdp/images/zs-photo.png"
								style="width: 50px; height: 40px;">
							</a>
					</div>
				</div>
			</div>
			<div class="zs-page">
				<a ng-click="waterDataCommon.firstPage(httpData.stationList,queryObj)">首页</a>
				<a class="pre"	ng-click="waterDataCommon.prePage(httpData.stationList,queryObj)">上一页</a>
				<a class="next"	ng-click="waterDataCommon.nextPage(httpData.stationList,queryObj)">下一页</a>
				<a ng-click="waterDataCommon.lastPage(httpData.stationList,queryObj)">尾页</a>
				<a> <label ng-bind="gisObject.searchParameter.station.searchPageIndex"></label>	</a> / 
				<a> <label ng-bind="gisObject.searchParameter.station.searchPageCount"></label>	</a>
			</div>
		</div>
    </div>
</div>